export const json = {
	title: 'Quest',
	logoWidth: 'auto',
	logoHeight: '24',
	logoPosition: 'right',
	focusFirstQuestionAutomatic: true,
	pages: [
		{
			name: 'Part 1',
			elements: [
				{
					type: 'text',
					name: 'old',
					indent: 1,
					title: 'How old are you now?',
					titleLocation: 'top',
					isRequired: true,
					errorLocation: 'bottom',
					inputType: 'number',
					autocomplete: 'name',
					min: 1,
					max: 150,
					step: 1,
				},
				{
					type: 'radiogroup',
					name: 'gender',
					indent: 1,
					title: 'What is your biological gender?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Male',
						},
						{
							value: '0',
							text: 'Female',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'pure_white',
					indent: 1,
					title: 'Is your race pure white?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '0',
							text: 'Yes',
						},
						{
							value: '1',
							text: 'No',
						},
					],
				},
			],
		},
		{
			name: 'Part 2',
			elements: [
				{
					type: 'radiogroup',
					name: 'total_income',
					indent: 1,
					title:
						'What is the average total income before tax received by your Household?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'less than £18,000 (Annual)/ less than £1,500 (Monthly)/ less than £346 (Weekly)',
						},
						{
							value: '2',
							text: '£18,000 to £29,999(Annual)/ £1,500 to £2,499(Monthly)/ £346 to £576(Weekly)',
						},
						{
							value: '3',
							text: '£30,000 to £51,999(Annual)/ £2,500 to £4,333(Monthly)/ £577 to £999(Weekly)',
						},
						{
							value: '4',
							text: '£52,000 to £100,000(Annual)/ £4,334 to £8,333(Monthly)/ £1000 to £1,923(Weekly)',
						},
						{
							value: '5',
							text: 'greater than £100,000(Annual)/ greater than £8,333(Monthly)/ greater than £1,923(Weekly)',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'tobacco',
					indent: 1,
					title: 'Do you smoke tobacco now?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes, on most or all days',
						},
						{
							value: '0',
							text: 'No',
						},
						{
							value: '2',
							text: 'Only occasionally',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'a1',
					indent: 1,
					title: 'About how often do you drink alcohol?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1/7',
							text: 'per Week',
						},
						{
							value: '1/30',
							text: 'per Month',
						},
						{
							value: '1/365',
							text: 'per Year',
						},
					],
				},
				{
					type: 'text',
					name: 'a2',
					indent: 1,
					title:
						'In an specific drinking DAY, how many glasses of RED wine would you drink ?\n(There are six glasses in an average bottle)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a3',
					indent: 1,
					title:
						'In an specific drinking DAY, how many glasses of WHITE wine or champagne would you drink? \n(There are six glasses in an average bottle)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a4',
					indent: 1,
					title:
						'In an specific drinking DAY, how many pints of beer or cider would you drink? \n(Include bitter, lager, stout, ale, Guinness)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a5',
					indent: 1,
					title:
						'In an specific drinking DAY, how many measures of spirits or liqueurs would you drink ?\n(there are 25 standard measures in a normal sized bottle; spirits include drinks such as whisky, gin, rum, vodka, brandy)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a6',
					indent: 1,
					title:
						'In an specific drinking DAY, how many glasses of fortified wine would you drink? \n(There are 12 glasses in an average bottle) (Fortified wines include drinks such as sherry, port, vermouth)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'a7',
					indent: 1,
					title:
						'In an specific drinking DAY, how many glasses of other alcoholic drinks (such as alcopops) would you drink?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b1',
					indent: 1,
					title:
						'In a typical WEEK, on how many days did you walk for at least 10 minutes at a time? \n(Include walking that you do at work, travelling to and from work, and for sport or leisure)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b2',
					indent: 1,
					title:
						'How many minutes did you usually spend walking on a typical DAY?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b3',
					indent: 1,
					title:
						'In a typical WEEK, on how many days did you do 10 minutes or more of moderate physical activities like carrying light loads, cycling at normal pace?\n(Do not include walking)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b4',
					indent: 1,
					title:
						'How many minutes did you usually spend doing moderate activities on a typical DAY?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b5',
					indent: 1,
					title:
						'In a typical WEEK, how many days did you do 10 minutes or more of vigorous physical activity? \n(These are activities that make you sweat or breathe hard such as fast cycling, aerobics, heavy lifting)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'b6',
					indent: 1,
					title:
						'How many minutes did you usually spend doing vigorous activities on a typical DAY?',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'c1',
					indent: 1,
					title:
						"About how many pieces of FRESH fruit would you eat per DAY? \n(Count one apple, one banana, 10 grapes etc as one piece; put '0' if you do not eat any)",
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'c2',
					indent: 1,
					title:
						"About how many pieces of DRIED fruit would you eat per DAY? \n(Count one prune, one dried apricot, 10 raisins as one piece; put '0' if you do not eat any)",
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'text',
					name: 'hours_sleep',
					indent: 1,
					title:
						'About how many hours sleep do you get in every 24 hours? (please include naps)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
			],
		},
		{
			name: 'Part 3',
			elements: [
				{
					type: 'text',
					name: 'waist_circumference',
					indent: 1,
					title: 'How much is your waist circumference?(cm)',
					titleLocation: 'top',
					isRequired: true,
					inputType: 'number',
					min: 0,
				},
				{
					type: 'radiogroup',
					name: 'question1',
					indent: 1,
					title: 'Do you receive attendance/disability/mobility allowance?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'hypertension',
					indent: 1,
					title: 'Have you been diagnosed with hypertension?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'diagnosed_diabetes',
					indent: 1,
					title: 'Have you been diagnosed with diabetes?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'ckd',
					indent: 1,
					title: 'Have you been diagnosed with CKD?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'anemias',
					indent: 1,
					title: 'Have you been diagnosed with anemias?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'heart_failure',
					indent: 1,
					title: 'Have you been diagnosed with heart failure?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'digestive_system',
					indent: 1,
					title:
						'Have you been diagnosed with malignant tumors of the digestive system?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'breast_cancer',
					indent: 1,
					title: 'Have you been diagnosed with breast cancer?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'myocardial_infarction',
					indent: 1,
					title: 'Have you been diagnosed with myocardial infarction?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
				{
					type: 'radiogroup',
					name: 'pulmonary_disease',
					indent: 1,
					title:
						'Have you been diagnosed with chronic obstructive pulmonary disease?',
					titleLocation: 'top',
					isRequired: true,
					choices: [
						{
							value: '1',
							text: 'Yes',
						},
						{
							value: '0',
							text: 'No',
						},
					],
				},
			],
		},
	],
	sendResultOnPageNext: true,
	showPageNumbers: true,
	questionTitleLocation: 'left',
	questionErrorLocation: 'bottom',
	showProgressBar: 'bottom',
	progressBarShowPageNumbers: true,
	progressBarInheritWidthFrom: 'survey',
	showTOC: true,
	tocLocation: 'right',
	allowCompleteSurveyAutomatic: false,
	checkErrorsMode: 'onValueChanged',
	textUpdateMode: 'onTyping',
	autoGrowComment: true,
	startSurveyText: 'Start',
	pagePrevText: 'Last ',
	pageNextText: 'Next',
	completeText: 'Submit',
	width: '100%',
}
